<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of LogWriter
 *
 * @author Rene
 */
class LogWriter 
{
  
    public static function LogToFile($inString, $inPath)
    {
        if(Config::$DEBUG == "true" && isset($inPath))
        {
            $file = fopen($inPath, "a");
            fwrite($file, $inString);
            fwrite($file, PHP_EOL);
            
            fclose($file);
        }
    }
}

?>
